package dimension.starry.block.machine.industry.rollingMill;

import dimension.starry.block.typeInterface.MachineContainer;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.screen.ScreenHandlerType;
import net.minecraft.screen.slot.FurnaceOutputSlot;
import net.minecraft.screen.slot.Slot;
import net.minecraft.util.math.BlockPos;

/**
 * @author 150149
 */
public class RollingMillContainer extends MachineContainer {

    public RollingMillContainer(
        ScreenHandlerType<?> containerType, int containerId, PlayerInventory playerInventory, BlockPos blockPos
    ) {
        super(containerType, containerId, playerInventory, blockPos, 8, 84);
        this.addSlot(new Slot(machineTileEntity.getInventory(), 0, 56, 35));
        this.addSlot(new FurnaceOutputSlot(playerInventory.player, machineTileEntity.getInventory(), 1, 116, 34));
    }

}
